package com.unicom.mec.project.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 项目信息
 *
 * @author 刘亮武
 * @date 2020年06月12日
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ProjectVo {

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "租户主键")
    private String tenantId;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "项目描述")
    private String projectDesc;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "维度")
    private String latitude;

    @ApiModelProperty(value = "节点设备数")
    private Integer edgeNodeCount;

    @ApiModelProperty(value = "终端设备数")
    private Integer edgeEndpointCount;

    @ApiModelProperty(value = "能力数")
    private Integer applicationCount;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date createTime;
}
